package com.woniuxy.cloud.carl.order.common;

import com.woniuxy.result.Messagable;

public enum CommonResultCode implements Messagable {
    CREATE_ORDER_SUCCESS(1200,"下单成功"),
    CANCEL_ORDER_SUCCESS(1200,"取消订单成功")
    ;

    private Integer code;
    private String message;

    private CommonResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
